﻿using UnityEngine;

namespace Cartoon_Trees_Low_Poly.Demo_Scene
{
    public class RotateAround : MonoBehaviour
    {
        public float RotationSpeed;
        // Use this for initialization
        private void Start()
        {
        }

        // Update is called once per frame
        private void Update()
        {
            transform.RotateAround(new Vector3(0.0f, -4.5f, 0.0f), Vector3.up, RotationSpeed*Time.deltaTime);
        }
    }
}